package com.tedu.egweibodemo.base.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatusCode {
    NOT_LOGIN(1000,"未登录"),
    USERNAME_EXIST(1002,"该用户名已存在"),
    USERNAME_PASSWORD_ERROR(1001,"用户名或密码错误"),
    OPERATION_SUCCESS(2001,"执行成功"),
    OPERATION_FAILED(2002,"执行失败"),
    VALIDATED_ERROR(6000,"参数校验失败");
    private Integer state;
    private String message;
}
